<?php
namespace App\Http\Queries;

use App\Models\WlGood;
use Illuminate\Http\Request;
use Spatie\QueryBuilder\QueryBuilder;
use Spatie\QueryBuilder\AllowedFilter;

class WlGoodsSingleQuery extends QueryBuilder
{
    public function __construct()
    {

        parent::__construct(WlGood::query());
        $this->allowedIncludes("goodsCategory","author");
    }
}
